/* 字体定义 */
@font-face {
    font-family: 'MiSans';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/MiSans-Regular.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: 'MiSans';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/MiSans-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'MiSans';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/MiSans-Bold.ttf') format('truetype');
    font-weight: bold;
}
@font-face {
	font-family: "iconfont"; /* Project id  */
	src: url('iconfont.ttf?t=1756094115315') format('truetype');
}
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MiSans', sans-serif;
}
a{
	text-decoration: none;
	color: #333;
}

.can-scroll{
	flex:1;
	overflow-y: auto;
	padding-bottom: 100rpx;
	height: calc(100vh - 100rpx);
	-webkit-overflow-scrolling: touch;
}

.can-scroll::-webkit-scrollbar {
  display: none;
}

/* neumorphism风格 */
.neumorphic {
    border-radius: 20rpx 0 0 20rpx;
    background: #f5f2ee;
    box-shadow: 8rpx 8rpx 16rpx #d9d6d2, 
                -8rpx -8rpx 16rpx #ffffff;
}


/* 底部 */
/* .bottom-bar{
	width: 675rpx;
	height: 100rpx;
	border-radius: 30rpx;
	background-color: #f5f2ee;
	box-shadow: -0rpx -0rpx 16rpx #d9d6d2, 
                -0rpx -0rpx 16rpx #d9d6d2;
	display: flex;
	gap:26.5%;
	z-index:3;
	padding: 0 10%;
	position: fixed;
	left:37.5rpx;
	bottom: 20rpx;
} */


/* 底部导航 - 固定 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right:0;
  width: 700rpx;
  height: 100rpx;
  border-radius: 30rpx;
  background-color: #f5f2ee;
  box-shadow: 0rpx 4rpx 16rpx rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 3;
  margin: auto;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex:1;
}

.shouye, .yaocai, .wode {
	/* 缩小元素尺寸，比如改为原来的80% */
	width: 70rpx;
	height: 64.4rpx; /* 92rpx * 0.8 = 73.6rpx */
	background-image: url("../../static/icon/sucai.png");
	background-size: 475.3rpx auto; /* 假设原图尺寸是500rpx×460rpx，也缩小为80% */
}
.shouye{
	background-position: -140rpx -64.4rpx;
}
.yaocai{
	background-position: -210rpx -64.4rpx;
}
.wode{
	background-position: -140rpx -128.8rpx;
}

.bottom-bar navigator p{
	width: 70rpx;
	line-height: 24rpx;
	font-size: 20rpx;
	text-align: center;
}